package com.lely.springcloud.dao;

import com.lely.springcloud.entity.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author zzyy
 * @date 2020/2/18 10:27
 **/
@Mapper
public interface PaymentDao {

    /**  新增  */
    int create(Payment payment);

    /**  根据Id查询  */
    Payment getPaymentById(@Param("id") Long id);
}
